package wjh.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.stereotype.Component;

@Data
@Component
@AllArgsConstructor
@NoArgsConstructor
public class Doctor {
    private Integer id;
    private String name;
    private String password;
    private String photo;
    private Integer age;
    private String sex;
    private String duty;
    private String department;
    private Long phone;
    private String introduction;
    private int duty_id;
    private int register_fee;
    private int department_id;
    private Department department1;
}
